package com.ruoyi.system.mapper.app;

import com.ruoyi.system.domain.app.Feedback;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FeedbackMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Feedback record);

    int insertSelective(Feedback record);

    Feedback selectByPrimaryKey(Long id);

    List<Feedback> feedbackList(@Param("appId")String appId,@Param("userName")String userName,@Param("phone")String phone,
                                @Param("deviceNum")String deviceNum);

    List<Feedback> issueFeedbackList(@Param("appId")String appId,@Param("userName")String userName,@Param("phone")String phone,
                                     @Param("deviceNum")String deviceNum);

    int updateByPrimaryKeySelective(Feedback record);

    int updateByPrimaryKey(Feedback record);
}